package org.dromara.wms.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.wms.domain.WmsStock;
import org.dromara.common.mybatis.core.mapper.BaseMapper;
import java.util.List;

/**
 * 库存数量Mapper接口
 * @author wenrui Su
 * @date 2024-05-03
 */
@Mapper
public interface WmsStockMapper extends BaseMapper<WmsStock> {
  int updateQuantity(@Param("bo") WmsStock bo);

  Page<WmsStock> queryPageList(@Param("page") Page<WmsStock> page, @Param("bo") WmsStock bo);

  List<WmsStock> queryPageList(@Param("bo") WmsStock bo);
}
